﻿using Pattern04抽象工厂模式.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pattern04抽象工厂模式.Models
{
    public class AppleTV : ITV
    {
        public int Amount { get; private set; }

        public void Print()
        {
            Console.WriteLine($"苹果电视一共生产了{Amount}台");
        }

        public int Produce(int amount, int days)
        {
            Amount = amount * days * 128;

            return Amount;
        }


    }
}
